using Backoffice.Application.Common;
using System.Threading.Tasks;

namespace BackOffice.Application.Services
{
    public interface IPermissionService
    {
        Task<ApiResult> AssignPermissionToRoleAsync(Guid roleId, Guid permissionId);
        Task<ApiResult> RemovePermissionFromRoleAsync(Guid roleId, Guid permissionId);
        Task<ApiResult> GetPermissionsByRoleAsync(Guid roleId);
        Task<ApiResult> GetMenusByRoleAsync(Guid roleId);
    }
}